package com.thinkgem.jeesite.modules.ship.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ship.entity.ShipSeaBook;
import com.thinkgem.jeesite.modules.ship.dao.ShipSeaBookDao;

/**
 * 出海预约信息Service
 * @author lgx
 * @version 2016-04-17
 */
@Service
@Transactional(readOnly = true)
public class ShipSeaBookService extends CrudService<ShipSeaBookDao, ShipSeaBook> {
	@Autowired
	private  ShipSeaBookDao shipSeaBookDao;

	public ShipSeaBook get(String id) {
		return super.get(id);
	}
	
	public List<ShipSeaBook> getMulti(ShipSeaBook shipSeaBook) {
		return shipSeaBookDao.getMulti(shipSeaBook);
	}
	
	public List<ShipSeaBook> findList(ShipSeaBook shipSeaBook) {
		return super.findList(shipSeaBook);
	}
	
	public Page<ShipSeaBook> findPage(Page<ShipSeaBook> page, ShipSeaBook shipSeaBook) {
		return super.findPage(page, shipSeaBook);
	}
	
	public Page<ShipSeaBook> findViewPage(Page<ShipSeaBook> page, ShipSeaBook shipSeaBook) {
		return super.findViewPage(page, shipSeaBook);
	}
	
	@Transactional(readOnly = false)
	public void save(ShipSeaBook shipSeaBook) {
		super.save(shipSeaBook);
	}
	
	@Transactional(readOnly = false)
	public void delete(ShipSeaBook shipSeaBook) {
		super.delete(shipSeaBook);
	}
	
}